package com.ushine.design.design.c_behavioral_pattern.j_template_method.b_example;

public class CurrentAccount extends Account {

    //覆盖父类的抽象基本方法
    @Override
    public void calculateInterest() {
        System.out.println("按活期利率计算利息！");
    }

}
